package com.advice.control.exception;

/**
 * 用户不存在异常处理
 * Created with IDEA
 * author:zwj
 * Date:2019/2/21
 * Time:20:38
 */
public class UserNotExistException extends RuntimeException {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
    private String id;
    public UserNotExistException(String id) {
        super("user not exist");
        this.id=id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getId() {
        return id;
    }
}
